//
//  AgainInputController.m
//  WuJieLive
//
//  Created by 张瀚坤 on 2017/10/27.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import "AgainInputController.h"

@interface AgainInputController ()

@property (nonatomic , strong) HKPasswordTF * tf;
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIButton *doneBtn;

@end

@implementation AgainInputController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}


-(void)setNavi
{
    self.title = @"支付密码";
}

-(void)setUI
{
    self.view.backgroundColor =  Color(245, 245, 245);
    self.tf = [[HKPasswordTF alloc]initWithFrame:CGRectMake(15, 50 ,kScreenWidth - 30, 50)];
    self.tf.elementCount = 6;
    [self.bgView addSubview:self.tf];
    self.tf.passwordDidChangeBlock = ^(NSString *password) {
        NSLog(@"%@",password);
    };
}
- (IBAction)doneAction:(id)sender {
    
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
